package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.user.modules.models.GroupInfo;
import cn.wizzer.app.user.modules.models.vo.GroupMsgVO;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

import java.util.List;

public interface GroupInfoService extends BaseService<GroupInfo> {
    List<GroupMsgVO> list(String userId);

    Pagination listPage(int pageNumber, int pageSize, String searchKeyword);

    Pagination memberList(int pageNumber, int pageSize, String groupId, String searchKeyword);

    void edit(GroupInfo groupInfo, String opBy);

    void add(GroupInfo groupInfo);
}
